package com.example.a22310.myapplication.Fragment.Train;


import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.a22310.myapplication.R;
import com.example.a22310.myapplication.ViewModel.Train.TrainDoorViewModel;

public class DoorFragment extends Fragment {
    private FragmentDoorBinding binding;
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, Bundle savedInstanceState) {
        binding = DataBindingUtil.inflate(inflater,
                R.layout.fragment_door, container, false);
        new TrainDoorViewModel(getActivity(), binding) ;
        return binding.getRoot();
    }



}